import numpy as np


def simple_opera():
    """
    数组的四则运算
    :return: None
    """
    a1 = np.arange(0, 10).reshape(10, )
    b1 = np.arange(10, 20).reshape(10, )
    c1 = a1 + b1
    print(a1)
    print(b1)
    print(c1)


def ndarray_ufunc():
    """
    数组的通函数
    :return: None
    """
    ndarr = np.arange(1, 20).reshape(4, 5)
    print(ndarr)


if __name__ == "__main__":
    simple_opera()
